package com.isoft.airportsystem.service.impl;


import com.isoft.airportsystem.entity.CFUE.CRFT_CFUE;
import com.isoft.airportsystem.entity.META;
import com.isoft.airportsystem.mapper.CFUEMapper;
import com.isoft.airportsystem.mapper.MetaMapper;
import com.isoft.airportsystem.service.CFUEService;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

import java.util.UUID;

@Service
public class CFUEServiceImpl implements CFUEService {
    @Resource
    private CFUEMapper cfueMapper;
    @Resource
    private MetaMapper metaMapper;
    @Override
    public Integer add(CRFT_CFUE cfue, META meta) {
        String metaid = UUID.randomUUID().toString().replace("-", "").toLowerCase();
        cfueMapper.add(cfue, metaid);
        metaMapper.add(meta,metaid);
        return null;
    }
}
